package com.net.xpay.web.vo;

import com.net.xpay.core.enums.AccountBillType;
import com.net.xpay.core.enums.AccountFundType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
  on 17/03/2018.
 * 记录收支的明细
 */
@Getter
@Setter
@NoArgsConstructor
public class AccountLogVo {
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "账单类别")
    private AccountBillType type;

    @ApiModelProperty(notes = "资金类型")
    private AccountFundType accountFundType;

    @ApiModelProperty(notes = "accountDetailId")
    private Long accountDetailId;

    @ApiModelProperty(notes = "关联id")
    private Long relatedId;

    @ApiModelProperty(notes = "相关的memo.")
    private String memo;

    @ApiModelProperty(notes = "变化的总数量")
    private Long change;

    @ApiModelProperty(notes = "变化前的金额 分")
    private Long beforeAmount;

    @ApiModelProperty(notes = "变化后的金额 分")
    private Long afterAmount;

    @ApiModelProperty(notes = "详情相关的业务id")
    private String relatedDetailNo;


}
